package com.softeem.service;

import com.softeem.entity.WorkOrder;
import com.softeem.model.LayuiPagingResult;
import com.softeem.model.ParamModel;
import com.softeem.model.WorkOrderModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WorkOrderService {

    boolean addWorkOrder(WorkOrder workOrder);

    WorkOrderModel getWorkOrderById(Integer id);

    LayuiPagingResult<WorkOrderModel> getOrdersDynamical(ParamModel params);
}
